<body class="body">
  <div class="container">
    <h2>重新发送解锁指令</h2>
    <%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
      <%= devise_error_messages! %>

      <div class="login">
        <%= f.email_field :email, autofocus: true,placeholder: "请输入邮箱" , value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
      </div>
      <div class="login">
        <div class="actions">
          <%= f.submit "发送确认指令" %>
        </div>
      <% end %>

      <%= render "devise/shared/links" %>
    </div>
  </div>
</body>
